package pack_huds;

import java.util.List;
import java.util.concurrent.TimeUnit;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.Test;

public class Sample_huds {
	
	public static WebDriver driver = new FirefoxDriver();
	public static String url="http://www.google.com/webhp?complete=1&hl=en";
	
	@Test
	public static void huds_google() throws Exception {
	
	//rajesh
		// Go to the Google Suggest home page	
	driver.get(url);
	driver.manage().window().maximize();
	driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
	
	   
    
    // Enter the query string "Cheese"
    WebElement query = driver.findElement(By.name("q"));
    query.sendKeys("selenium");
 Thread.sleep(4000L);
    
    
	
   	}
}
